package cn.wangwang.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Wangwang on 2017/11/24.
 */
@Controller
public class PageController {


    @Value("${spring.thymeleaf.suffix}")
    private String valueInfo;
    @RequestMapping("/showPage")
    public String showPage(){
        System.out.println("加载的属性为:"+valueInfo);
        return "/test";
    }
}
